def fx(x):
    s = (x**4)-(9*x**2)+(x/2)
    return s
x = int(input("enter your number:"))
print(fx(x))

#8476839.0,84851760.0,47396361.5,16740384.0,2997726849.0,622976699.0,17553997734.0

